import request from '../utils/request.js'

export function getList(params) {
  return request({
    url: 'bill/getBillList',
    method: 'get',
	params
  })
}

export function getBillById(params) {
  return request({
    url: 'bill/getBillById',
    method: 'get',
	params
  })
}

export function addBill(data) {
  return request({
    url: 'bill/addBill',
    method: 'post',
	data
  })
}

export function updateBill(data) {
  return request({
    url: 'bill/updateBill',
    method: 'post',
	data
  })
}

export function deleteBill(params) {
  return request({
    url: 'bill/deleteBill',
    method: 'delete',
	params
  })
}